package com.hxh.controller;

import com.hxh.model.Book;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Controller;

import javax.annotation.Resource;

/**
 * @author 兴趣使然黄小黄
 * @version 1.0
 * @date 2023/6/29 14:19
 */
@Controller
public class BookController {

    @Autowired
    @Qualifier(value = "book01")
    private Book book;

    public Book getBook() {
        return book;
    }
}
